package cn.com.jinhao.provider.business.vo;


import cn.com.jinhao.hotline.commons.vo.business.RecordInfoRequestVO;
import cn.com.jinhao.provider.business.entity.Dispatch;
import cn.com.jinhao.provider.business.entity.RecordInfo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import javax.validation.Valid;
import java.io.Serializable;
import java.util.List;

/**
 * HotLine
 * <p>Description: 网络派单信息</p>
 *
 * @author ShaneMew
 * @version 1.0
 * @date 2020/02/17
 * @since 2020/02/17
 */

@Data
@ToString
@ApiModel(value = "DispatchInfoRequestVO", description = "网上派单信息")
public class DispatchInfoRequestVO implements Serializable {
    private static final long serialVersionUID = 1472713960996329467L;
    @ApiModelProperty(value = "事件信息")
    @Valid
    private RecordInfoRequestVO recordInfoRequestVO;

    @ApiModelProperty(value = "派单信息")
    @Valid
    private List<Dispatch> dispatches;
}
